{include file="public:header" /}
<!--导航列表-->
<div class="pad_lr_10" >
    <div class="J_tablelist table_list" data-acturi="{:url('ajaxEdit')}">
        <table width="100%" cellspacing="0">
            <thead>
            <tr>
                <th width="20"></th>
                <th align="left" width="120">导航名称</th>
                <th width="100">位置</th>
                <th width=120>打开方式</th>
                <th width="200">seo标题</th>
                <th>seo关键词</th>
                <th align="60"><span data-tdtype="order_by" data-field="ordid">排序</span></th>
                <th width="40">状态</th>
                <th width="80">操作</th>
            </tr>
            </thead>
            <tbody>
            {volist name="list" id="val"}
            <tr>
                <td></td>
                <td align="left"><span data-tdtype="edit" data-field="title" data-id="{$val.id}" class="tdedit" style="">{$val.title}</span>{notempty name="val['img']"}<span class="attachment_icon J_attachment_icon" file-type="image" file-rel="{$val.img}"><img src="__IMG__/image_s.gif" /></span>{/notempty}</td>
                <td align="center">{$val.pos==1?'页头菜单':'<span style="color:green;">页脚菜单</span>'}</td>
                <td align="center"> {if condition="$val['open_type'] eq '_self'"}当前页面{else /}新页面{/if}</td>
                <td>{$val.seo_title}</td>
                <td>{$val.seo_keys}</td>
                <td align="center"><span data-tdtype="edit" data-field="ordid" data-id="{$val.id}" class="tdedit">{$val.ordid}</span></td>
                <td align="center"><img data-tdtype="toggle" data-id="{$val.id}" data-field="status" data-value="{$val.status}" src="__IMG__/toggle_{if condition="$val.status eq 1"}enabled{else/}disabled{/if}.gif" /></td>
                <td align="center">
                    {:rights($options,$val['id'],$val['title'],$menuid)}
                    {if condition="$val.is_sys eq 0"}
                    | <a href="javascript:void(0);" class="J_confirmurl" data-uri="{:url('delete',['id'=>$val.id])}" data-acttype="ajax" data-msg="确定删除该导航么？">删除</a>
                    {/if}
                </td>
            </tr>
            {/volist}
            </tbody>
        </table>

        <div class="btn_wrap_fixed">
           <div id="pages">{$pages}</div>
        </div>
    </div>
</div>
{include file="public:footer" /}
<script src="__PUBLIC__/js/calendar/WdatePicker.js" charset="utf-8"></script>
<script>
    $('.J_cate_select').cate_select({top_option:'请选择'});

</script>
</body>
</html>
